<template>
<div>
  <div class="left"><el-tag>优惠券管理</el-tag></div>
  <el-tabs v-model="activeName">
    <el-tab-pane label="管理" name="first"><promote></promote></el-tab-pane>
    <el-tab-pane label="添加" name="second"><add></add></el-tab-pane>
  </el-tabs>
</div>
</template>

<script>
import promote from "@/components/promote/coupon/promote";
import add from "@/components/promote/coupon/add";
export default {
  name: "coupon",
  components:{
    promote,
    add
  },
  data(){
    return{
      activeName:'first',
    }
  }
}
</script>

<style scoped>
a{
  text-decoration: none;
}
.left{
  text-align: left;
}
</style>